package com.glorystone.ins.service.impl;

import com.glorystone.ins.common.common.PageVo;
import com.glorystone.ins.dao.EndpayingMapper;
import com.glorystone.ins.domain.Endpaying;
import com.glorystone.ins.interceptor.PageList;
import com.glorystone.ins.service.OrderEndpayingService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author:haoguodong
 * @Date:Created in 16:53 2018/3/26
 * @since: JDK 1.7
 * @projectName:IntelliJ IDEA
 * @Description:类功能描述
 */
@Service
@Transactional
public class OrderEndpayingServiceImpl implements OrderEndpayingService {

    @Autowired
    private EndpayingMapper endpayingMapper;

    @Override
    public PageList<Endpaying> queryRepayList(PageVo vo) {
        return endpayingMapper.queryRepayList(vo,vo.getPageable());
    }

    @Override
    public List<Endpaying> getEndpayList(Map<String, String> map) {
        return endpayingMapper.getEndpayList(map);
    }
}
